import Layout from '@/layout'

const Router = {
  path: '/insuranceUnderwriting',
  component: Layout,
  redirect: '/index',
  name: 'index',
  
  meta: {
    title: '保险承保信息',
    icon: 'insurance'
  },
  children: [
    {
      path: 'merchantsList',
      component: () => import('@/views/insuranceUnderwriting/merchantsList/index'),
      name: 'merchantsList',
      meta: { title: '参与承保商家', noCache: true }
    },
    {
      path: 'merchantsDetail',
      component: () => import('@/views/insuranceUnderwriting/merchantsList/merchantsDetail'),
      name: 'merchantsDetail',
      meta: { title: '商家详情', noCache: true },
      hidden: true,
    },
    {
      path: 'underwritingCard',
      component: () => import('@/views/insuranceUnderwriting/underwritingCard/index'),
      name: 'underwritingCard',
      meta: { title: '保险承保卡明细', noCache: true }
    },
    {
      path: 'insuranceAudit',
      component: () => import('@/views/insuranceUnderwriting/insuranceAudit/index'),
      name: 'insuranceAudit',
      meta: { title: '商家保险审核', noCache: true }
    },
  ]
}

export default Router